home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / ColorSync 2.5.1 SDK / Sample Code / Procedure Profile / ProcedureProfile.h < prev   
Encoding:
Text File  |  1998-09-09  |  637 b   |  31 lines  |  [TEXT/MMCC]

  1. // An example of using ColorSync 2.1 procedure-based profiles
  2. // to read and write to resource profiles
  3. //
  4. // Copyright 1996, Apple Computer,Inc
  5. //
  6.  
  7.  
  8. #ifndef __PROCEDUREPROFILE__
  9. #define __PROCEDUREPROFILE__
  10.  
  11. #ifndef __CMAPPLICATION__
  12. #include <CMApplication.h>
  13. #endif
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19.  
  20. #define kProcResourceType 'prof'
  21.  
  22. extern OSErr CreateProcedureProfileAccess( CMProfileLocation* profileLocation, FSSpec *resourceSpec,
  23.                                             Str255 resourceName, OSType resourceType, short resourceID);
  24. extern void DisposeProcedureProfileAccess ( CMProfileLocation *profileLocation );
  25.  
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif